package com.system.healthproject.pojo;

import java.util.Date;

public class Department {

    private Integer departmentId;
    private String departmentName;
    private Integer hospitalId;
    private Integer departmentParentid;
    private String departmentUser;
    private String departmentPhone;
    private Integer departmentNumber;
    private Date createtime;



    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column department.department_id
     *
     * @param departmentId the value for department.department_id
     *
     * @mbg.generated
     */
    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column department.department_name
     *
     * @return the value of department.department_name
     *
     * @mbg.generated
     */
    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName == null ? null : departmentName.trim();
    }

    public Integer getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Integer hospitalId) {
        this.hospitalId = hospitalId;
    }

    public Integer getDepartmentParentid() {
        return departmentParentid;
    }

    public void setDepartmentParentid(Integer departmentParentid) {
        this.departmentParentid = departmentParentid;
    }

    public String getDepartmentUser() {
        return departmentUser;
    }
    public void setDepartmentUser(String departmentUser) {
        this.departmentUser = departmentUser == null ? null : departmentUser.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column department.department_phone
     *
     * @return the value of department.department_phone
     *
     * @mbg.generated
     */
    public String getDepartmentPhone() {
        return departmentPhone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column department.department_phone
     *
     * @param departmentPhone the value for department.department_phone
     *
     * @mbg.generated
     */
    public void setDepartmentPhone(String departmentPhone) {
        this.departmentPhone = departmentPhone == null ? null : departmentPhone.trim();
    }

    public Integer getDepartmentNumber() {
        return departmentNumber;
    }

    public void setDepartmentNumber(Integer departmentNumber) {
        this.departmentNumber = departmentNumber;
    }
}